package com.shop.bean;

import java.math.BigDecimal;

import com.shop.Enum.Type;

import shopBean.common.Enum.StatusAll;

/**
 * date: 2018年5月17日 上午12:54:06
 * 
 * @author WuFengJun
 */
public class Shop {
	private String id;// 主键ID
	private BigDecimal price;// 价格
	private String title;// 标题
	private String content;// 描述
	private String simpleDesc;// 简单描述
	private String createDate;
	private BigDecimal score;
	private StatusAll status;// 状态
	private Type type;//类型
    private Integer salesNum;
    private Integer maxNum;
    private Integer maxOrder;
    
	public Shop() {
		// TODO Auto-generated constructor stub
	}

	public Shop(String id, BigDecimal price, String title, String content, String simpleDesc, String createDate,
			BigDecimal score, StatusAll status) {
		super();
		this.id = id;
		this.price = price;
		this.title = title;
		this.content = content;
		this.simpleDesc = simpleDesc;
		this.createDate = createDate;
		this.score = score;
		this.status = status;
	}

	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSimpleDesc() {
		return simpleDesc;
	}

	public void setSimpleDesc(String simpleDesc) {
		this.simpleDesc = simpleDesc;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public BigDecimal getScore() {
		return score;
	}

	public void setScore(BigDecimal score) {
		this.score = score;
	}

	public StatusAll getStatus() {
		return status;
	}

	public void setStatus(StatusAll status) {
		this.status = status;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Integer getSalesNum() {
		return salesNum;
	}

	public void setSalesNum(Integer salesNum) {
		this.salesNum = salesNum;
	}

	public Integer getMaxNum() {
		return maxNum;
	}

	public void setMaxNum(Integer maxNum) {
		this.maxNum = maxNum;
	}

	public Integer getMaxOrder() {
		return maxOrder;
	}

	public void setMaxOrder(Integer maxOrder) {
		this.maxOrder = maxOrder;
	}

	@Override
	public String toString() {
		return "Shop [id=" + id + ", price=" + price + ", title=" + title + ", content=" + content + ", simpleDesc="
				+ simpleDesc + ", createDate=" + createDate + ", score=" + score + ", status=" + status + ", type="
				+ type + ", salesNum=" + salesNum + ", maxNum=" + maxNum + ", maxOrder=" + maxOrder + "]";
	}

	

}
